
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
        <meta name="format-detection" content="telephone=no">
        <title>挺赞商户</title>
        <link rel="stylesheet" href="__PUBLIC__/business/css/reset.css" >
        	<link rel="stylesheet" href="__PUBLIC__/business/css/main.css" >
        	<link rel="stylesheet" href="__PUBLIC__/business/js/mobiscroll.css" >
    </head>
    
    <body>
	<header>
		<i id="iconlogo">挺赞洗衣</i><i id="refresh">刷新</i>
	</header>
	
<section class="address">
		<form id="bbForm" action="{:U('Business/index/orderlist')}" method="post">
		<ul>
			<li>
				<label>开始日期</label>
				<div class="area">
					<span style="width:100%">
						<input type="text" id="timeStart" name="addtime" data-role="datebox" readonly="" value="">
					</span>
				</div>
			</li>
			<li>
				<label>结束日期</label>
				<div class="area">
					<span style="width:100%">
						<input type="text" id="timeEnd" name="endtime" data-role="datebox" readonly="" value="">
					</span>
				</div>
			</li>
			<li>
				<label>订单状态</label>
				<div class="area">
					<span style="width:100%">
						<select id="orderType" name="status" >
							<option value="-1">全部状态</option>
							<foreach name="ordertype" item="vos" > 
								<option value="{$key}">{$vos}</option>
	                        	</foreach>
						</select>
					</span>
				</div>
			</li>
			<li>
				<label>订单编号</label>
				<div>
					<input type="text" id="orderNo" name="orderid">
					<p class="b_line"></p>
				</div>
			</li>
			<li>
				<label>联系人姓名</label>
				<div>
					<input type="text" id="name" name="name">
					<p class="b_line"></p>
				</div>
			</li>
			<li>
				<label>手机号码</label>
				<div>
					<input type="text" id="tel" name="phone">
					<p class="b_line"></p>
				</div>
			</li>
		</ul>
		</form>
		<div id="submit" class="button org"><a>查&nbsp; 询</a><b></b></div>
	</section>
	<script src="__PUBLIC__/business/js/jquery.1.7.2.min.js"></script>
	<script src="__PUBLIC__/business/js/mobiscroll.js"></script>
    	<script src="__PUBLIC__/business/js/normal.js?sj={$tj}"></script>
	<script type="text/javascript">
        $(function () {
			var currYear = (new Date()).getFullYear();	
			var opt={};
			opt.date = {preset : 'date'};
			opt.datetime = {preset : 'datetime'};
			opt.time = {preset : 'time'};
			opt.default = {
				theme: 'android-ics light', //皮肤样式
		        display: 'modal', //显示方式 
		        mode: 'scroller', //日期选择模式
				dateFormat: 'yyyy-mm-dd',
				lang: 'zh',
				showNow: true,
				nowText: "今天",
		        startYear: currYear - 10, //开始年份
		        endYear: currYear + 10 //结束年份
			};

		  	$("#timeStart").mobiscroll($.extend(opt['date'], opt['default']));
		  	$("#timeEnd").mobiscroll($.extend(opt['date'], opt['default']));
		  	

			$('#submit').on('click',function(){
				$('#bbForm').submit();
			});
        });
    </script>
    </body>
</html>